{extend name="Master/base" /} {block name="title"}后台主页{/block} {block name="main"}
<!--三级菜单-->
{if condition="empty($child_menu_list)==false"}
<div class="collapse navbar-collapse pull-left " id="navbar-collapse" style="background-color: #ddd;
width: 100%; margin-bottom: 5px">
    <ul class="nav navbar-nav web_child_nav">
        {volist name="child_menu_list" id="c_menu"}
        <li class="{$c_menu['url']==$page_url ? 'active' : ''}"><a href="{:url($c_menu['url'],['project_id'=>input('project_id')])}">{$c_menu['title']} </a></li>
        {/volist}

    </ul>
</div>
{/if}
<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-success">
                <div class="box-header with-border">
                    <h3 class="box-title">{$project.title}-项目信息</h3>
                </div>
                <div class="col-md-12" style="margin-top: 10px">
                    <!-- Custom Tabs -->


                    <div class="box box-solid">
                        <div class="box-header with-border">
                            <h3 class="box-title">{$project.title}</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <form class="form-horizontal">
                                <div class="box-body">
                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">项目名称</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$project.title}</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">项目类型</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$project_type[$project.p_type]}</p>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">总包单位</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$zb_list[$project.company_id]}</p>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">业主单位</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$yz_list[$project.owner_id]}</p>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">项目经理</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$pm_info.nickname}</p>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">市场人员</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$market_info.nickname}</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">合同时间</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$project.pact_time}</p>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">合同工期</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$project.day} 天</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-3">
                                        <div class="form-group">

                                            <label for="inputEmail3" class="col-sm-4 control-label">项目金额</label>

                                            <div class="col-sm-8">
                                                <p class="lead">{$project.price} 元</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <!-- /.box-footer -->
                            </form>
                        </div>
                        <!-- /.box-body -->

                    </div>
                    <!-- /.tab-content -->

                    <div class="box box-solid">
                        <div class="box-header with-border">
                            <h3 class="box-title">项目团队信息</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="box-body table-responsive no-padding">
                                <table class="table table-hover">
                                    <tbody>
                                        <tr>
                                            <th>标号</th>

                                            <th>成员名称</th>

                                            <th>电话</th>

                                            <th>邮箱</th>

                                            <th>职责</th>
                                        </tr>
                                        {volist name="project_team" id="vo" key="key"}
                                        <tr>
                                            <td>{$key}</td>

                                            <td>{$vo.user['nickname']}</td>
                                            <td>{$vo.phone}</td>
                                            <td>{$vo.email}</td>
                                            <td>{$vo.duty}</td>
                                        </tr>
                                        {/volist}
                                    </tbody>
                                </table>


                            </div>
                        </div>
                        <!-- /.box-body -->

                    </div>

                    <div class="box box-solid">
                        <div class="box-header with-border">
                            <h3 class="box-title">项目里程碑计划</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <div class="box-body table-responsive no-padding">
                                <table class="table table-hover">
                                    <tbody>
                                        <tr>
                                            <th>标号</th>

                                            <th>名称</th>

                                            <th>计划内容</th>

                                            <th>计划完成时间</th>

                                            <th>实际完成时间</th>

                                            <th>状态</th>

                                        </tr>
                                        {volist name="project_plan" id="vo" key="key"}
                                        <tr>
                                            <td>{$key}</td>


                                            <td>{$vo.title}</td>
                                            <td>{$vo.content}</td>
                                            <td>{$vo.complete_time}</td>
                                            <td>{$vo.real_ctime}</td>
                                            <td>{$code_status[$vo.status]?=$code_status[$vo.status]}</td>

                                        </tr>
                                        {/volist}
                                    </tbody>
                                </table>
                                </table>


                            </div>
                        </div>
                        <!-- /.box-body -->

                    </div>
                    <!-- nav-tabs-custom -->
                </div>
                <!-- /.box-header -->


            </div>
        </div>
</section>
{/block} {block name="script"}
<script>
    $(function() {
        $("#tab_home").load_tabs();
        $("#tab_home").on("click", function(e) {
            $(this).load_tabs();
            e.stopPropagation();
        });

    });
</script>

{/block}